var status = -1;
var selectionLog = [];

function action(d, c, b) {
    if (cm.getNumberFromQuestInfo(33502, "enter") == 1) {
        cm.dispose();
        return
    }
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.sendNormalTalk_Bottom("嗬！这个究竟是什么……", 57, 0, false, true)
        } else {
            if (status === a++) {
                cm.sendNormalTalk_Bottom("吱吱吱~！", 37, 1530619, true, true)
            } else {
                if (status === a++) {
                    cm.sendNormalTalk_Bottom("蹦蹦蹦！", 37, 1530620, true, true)
                } else {
                    if (status === a++) {
                        cm.updateInfoQuest(33502, "enter=1");
                        cm.dispose()
                    }
                }
            }
        }
    }
}

function start() {
    status = -1;
    action(1, 0, 0)
};